

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Transition [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Connector,Connector Transition,Transition,Transition Connector,Transition Effect,Transition Properties,Transition Relationship,Transition Guard,Transition Trigger,Trigger,Trigger For Transition,Trigger Create In Transition Properties,Relationship,Relationship Transition,Activity,Activity Instance,Behavior,Behavior Instance">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Transition</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="trace.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="use.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_TextIndentedL2"><img src="d_transition.png" width="332" height="90" border="0" alt="d_Transition"></p>
<p class="p_BodyText"><span class="f_BodyText">A </span><span class="f_BodyText" style="font-style: italic;">Transition</span><span class="f_BodyText"> defines the logical movement from one <a href="state.htm">State</a> to another, in a <a href="statediagram.htm">State Machine diagram</a>. The Transition can be controlled through the following connector </span><span class="f_UIControl">Properties</span><span class="f_BodyText"> dialog:</span></p>
<p class="p_TextIndentedL2"><img src="transitionproperties.png" width="392" height="446" border="0" alt="TransitionProperties"></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="0" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" bgcolor="#e3e6ed" style="width:127px; background-color:#e3e6ed; border: solid 1px #000000;"><p class="p_Tableheader"><span class="f_Tableheader">Option</span></p>
</td>
<td valign="top" width="467" bgcolor="#e3e6ed" style="width:467px; background-color:#e3e6ed; border: solid 1px #000000;"><p class="p_Tableheader"><span class="f_Tableheader">Use to</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Guard</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Type in an expression that is evaluated after an Event is dispatched, but before the corresponding Transition is triggered. If the guard is true at that time, the Transition is enabled; otherwise, it is disabled.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Effect is a Behavior</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Convert the </span><span class="f_MenuKeyField">Effect</span><span class="f_Tabletext"> field from a free-text field to the definition of a specific Activity or behavior.</span></p>
<p class="p_Tabletext"><span class="f_Tabletext">Enterprise Architect displays the </span><span class="f_UIControl"><a href="instanceclassifier.htm">Set Element Classifier</a> </span><span class="f_Tabletext">dialog to prompt you to select the Activity or behavior element from the model</span><span class="f_Tabletext">.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Effect</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Either:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Type a description of the effect of the Transition, or</span></li>
<li><span class="f_Bulletlist1">If you have selected the </span><span class="f_MenuKeyField">Effect is a Behavior</span><span class="f_Bulletlist1"> check box, select an Activity or behavior to be performed during the Transition (to change this subsequently, click on the </span><span class="f_MenuKeyField">[ ... ]</span><span class="f_Bulletlist1"> button to redisplay the </span><span class="f_UIControl">Set Element Classifier</span><span class="f_Bulletlist1"> dialog).</span></li>
</ul>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_UIControl">Trigger</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">&nbsp;</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Name</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Specify the name of the trigger.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Type</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Specify the type of trigger: </span><span class="f_Tabletext" style="font-weight: bold;">Call</span><span class="f_Tabletext">, </span><span class="f_Tabletext" style="font-weight: bold;">Change</span><span class="f_Tabletext">, </span><span class="f_Tabletext" style="font-weight: bold;">Signal</span><span class="f_Tabletext"> or </span><span class="f_Tabletext" style="font-weight: bold;">Time</span><span class="f_Tabletext">.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Specification</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Specify the event instigating the Transition.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">New</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Create a new trigger.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Save</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Save the current trigger.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext" style="font-weight: bold;">Remove</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">Remove the selected trigger from the list.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="top" width="127" style="width:127px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_UIControl">Triggers</span></p>
</td>
<td valign="top" width="467" style="width:467px; border: solid 1px #000000;"><p class="p_Tabletext"><span class="f_Tabletext">List the current triggers for the Transition.</span></p>
</td>
</tr>
</table>
</div>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="955" bgcolor="#efeff7" style="width:955px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="955" bgcolor="#f7f7ff" style="width:955px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">Fork and Join segments can have neither triggers nor guards.</span></p>
</td>
</tr>
</table>
</div>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Toolbar Icon</span></p>
<p class="p_TextIndentedL2"><img src="c_transition.png" width="168" height="23" border="0" alt="c_Transition"></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">OMG UML Specification</span></p>
<p class="p_BodyText"><span class="f_BodyText">The OMG UML specification (</span><span class="f_BodyText" style="font-style: italic;">UML Superstructure Specification, v2.1.1, p. 568</span><span class="f_BodyText">) states:</span></p>
<p class="p_OMGText"><span class="f_OMGText">A transition is a directed relationship between a source vertex and a target vertex. It may be part of a compound transition, which takes the state machine from one state configuration to another, representing the complete response of the state machine to an occurrence of an event of a particular type.</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
